#ifndef EXECUTOR_H
#define EXECUTOR_H

#include "parser.h"

void execute_commands(Command *commands, pid_t *fg_pgid, int *foreground);
void setup_redirection(Command *cmd);
void execute_single_command(Command *cmd, pid_t pgid, int foreground);

#endif
